package com.ehome.poct.core.dao.mybatis.mapper;
import java.util.List;
import java.util.Collection;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ehome.poct.core.dao.entity.check.TestRecordDetailDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface TestRecordDetailMapper extends BaseMapper<TestRecordDetailDO> {

    int updateByOrderNo(@Param("updated") TestRecordDetailDO updated, @Param("orderNo") String orderNo);

    int updateByOrderNoAndStripTypeCode(@Param("updated") TestRecordDetailDO updated, @Param("orderNo") String orderNo, @Param("stripTypeCode") Integer stripTypeCode);

    List<TestRecordDetailDO> findByOrderNoAndStripTypeCodeIn(@Param("orderNo")String orderNo,@Param("stripTypeCodeCollection")Collection<Integer> stripTypeCodeCollection);

}